from building import *

cwd = GetCurrentDir()

# add the general drivers
src = Split("""
    board.c
    rtt_board.c
    pinmux.c
    rw007_port.c
    fal_flash_port.c
    
    port/port_mount_table.c
    port/cherryusb_port.c
""")

#port/port_ramdisk.c
#port/msc_blkdev_template.c
#port/port_ext_qspi_flash.c
#port/port_spi_st7789.c
#port/panel_qspi_st77916.c
#port/port_xpi_flash.c
#port/port_sdcard.c

CPPPATH = [cwd]
CPPDEFINES=['D45', 'HPM6750']

group = DefineGroup('Board', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)

Return('group')
